 package CurtainDesign.utils;

// 合页关联信息
 public class HingeRelatedInfo
 {
   private int paneNum = 0;

   private int singleHingePaneNum = 0;

   private int doubleHingePaneNum = 0;

   private int bendHingePaneNum = 0;

   private int poleNum = 0;

   private int tPoleNum = 0;

   private int duikouPoleNum = 0;

   private int shuanglianPoleNum = 0;

   private float gap = 0.0F;

   private int magnetSliceNum = 0; // 瓷片数量

   public int getPaneNum()
   {
     return this.paneNum;
   }
   public void setPaneNum(int paneNum) {
     this.paneNum = paneNum;
   }
   public int getBendHingePaneNum() {
     return this.bendHingePaneNum;
   }
   public void setBendHingePaneNum(int bendHingePaneNum) {
     this.bendHingePaneNum = bendHingePaneNum;
   }
   public int getDoubleHingePaneNum() {
     return this.doubleHingePaneNum;
   }
   public void setDoubleHingePaneNum(int doubleHingePaneNum) {
     this.doubleHingePaneNum = doubleHingePaneNum;
   }
   public int getDuikouPoleNum() {
     return this.duikouPoleNum;
   }
   public void setDuikouPoleNum(int duikouPoleNum) {
     this.duikouPoleNum = duikouPoleNum;
   }
   public float getGap() {
     return this.gap;
   }
   public void setGap(float gap) {
     this.gap = gap;
   }
   public int getPoleNum() {
     return this.poleNum;
   }
   public void setPoleNum(int poleNum) {
     this.poleNum = poleNum;
   }
   public int getShuanglianPoleNum() {
     return this.shuanglianPoleNum;
   }
   public void setShuanglianPoleNum(int shuanglianPoleNum) {
     this.shuanglianPoleNum = shuanglianPoleNum;
   }
   public int getSingleHingePaneNum() {
     return this.singleHingePaneNum;
   }
   public void setSingleHingePaneNum(int singleHingePaneNum) {
     this.singleHingePaneNum = singleHingePaneNum;
   }
   public int getTPoleNum() {
     return this.tPoleNum;
   }
   public void setTPoleNum(int poleNum) {
     this.tPoleNum = poleNum;
   }
   public int getMagnetSliceNum() {
     return this.magnetSliceNum;
   }
   public void setMagnetSliceNum(int magnetSliceNum) {
     this.magnetSliceNum = magnetSliceNum;
   }

   public HingeRelatedInfo plus(HingeRelatedInfo bePlusInfo)
   {
     HingeRelatedInfo totalInfo = new HingeRelatedInfo();
     totalInfo.setPaneNum(this.paneNum + bePlusInfo.getPaneNum());
     totalInfo.setSingleHingePaneNum(this.singleHingePaneNum + bePlusInfo.getSingleHingePaneNum());
     totalInfo.setShuanglianPoleNum(this.shuanglianPoleNum + bePlusInfo.getShuanglianPoleNum());
     totalInfo.setDoubleHingePaneNum(this.doubleHingePaneNum + bePlusInfo.getDoubleHingePaneNum());
     totalInfo.setBendHingePaneNum(this.bendHingePaneNum + bePlusInfo.getBendHingePaneNum());
     totalInfo.setPoleNum(this.poleNum + bePlusInfo.getPoleNum());
     totalInfo.setTPoleNum(this.tPoleNum + bePlusInfo.getTPoleNum());
     totalInfo.setDuikouPoleNum(this.duikouPoleNum + bePlusInfo.getDuikouPoleNum());
     totalInfo.setGap(this.gap + bePlusInfo.getGap());
     totalInfo.setMagnetSliceNum(this.magnetSliceNum + bePlusInfo.getMagnetSliceNum());
     return totalInfo;
   }
 }

/* Location:           C:\Users\Administrator\Desktop\奥特百叶窗\Shutter DesignerV3.1\CurtainDesign.jar
 * Qualified Name:     CurtainDesign.utils.HingeRelatedInfo
 * JD-Core Version:    0.6.0
 */